import requests
data={
    'wndmd':'True',
    'wnd':'5',
    'from':'python'
}

headers={
    'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36'
}

response=requests.post('http://httpbin.org/post',data=data,headers=headers)
print(response.text)
dataw=response.text
fo=open("post.html","w")
fo.write(dataw)
fo.close